Total Complexity | 47 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 210 |
Lines of code | 140 |
Logical lines of code | 93 |
Comment lines | 9 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
before_save_order_items() | 53 | 8 | 21 | |
refund_created() | 57 | 8 | 14 | |
product_before_set_stock() | 51 | 7 | 25 | |
prevent_adjust_line_item_product_stock() | 58 | 7 | 14 | |
before_order_item_object_save() | 59 | 5 | 14 | |
product_set_stock() | 57 | 4 | 15 | |
order_item_quantity() | 65 | 3 | 9 | |
__hooks() | 57 | 1 | 15 | |
hidden_order_itemmeta() | 77 | 1 | 4 | |
reduce_order_stock() | 79 | 1 | 3 | |
restore_order_stock() | 79 | 1 | 3 | |
before_delete_order_item() | 79 | 1 | 3 |